Linux下如何查看网卡工作状态 您所在的位置:网站首页 Linux 查看网口工作状态 Linux下如何查看网卡工作状态

Linux下如何查看网卡工作状态

2024-07-15 02:36| 来源: 网络整理| 查看: 265

1,使用工具 ethtool ethx 查看指定网卡的状态 ethtool eth0[code] Settings for eth0:         Supported ports: [ TP ]         Supported link modes:   10baseT/Half 10baseT/Full                                 100baseT/Half 100baseT/Full                                 1000baseT/Half 1000baseT/Full         Supports auto-negotiation: Yes         Advertised link modes:  10baseT/Half 10baseT/Full                                 100baseT/Half 100baseT/Full                                 1000baseT/Half 1000baseT/Full         Advertised auto-negotiation: Yes         Speed: 1000Mb/s         Duplex: Full         Port: Twisted Pair         PHYAD: 0         Transceiver: internal         Auto-negotiation: on         Supports Wake-on: g         Wake-on: d         Current message level: 0x00000037 (55)         Link detected: yes[/code] 2.使用mii-tool查看MII状态和网卡速率 3.使用mii-diag查看

mii-diag Using the default interface 'eth0'. Basic registers of MII PHY #32:  1100 782d 0000 0000 01e1 41e1 0001 0000.  The autonegotiated capability is 01e0. The autonegotiated media type is 100baseTx-FD.  Basic mode control register 0x1100: Auto-negotiation enabled.  You have link beat, and everything is working OK.  Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.    End of basic transceiver information.

4、lspci

5、ifconfig

6、



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有